package com.cong._56;

import org.junit.Test;

import java.util.Arrays;

import static org.junit.Assert.*;

public class SolutionTest_56 {

    @Test
    public void merge() {
        int[][] intervals = new int[][] {
//                {1,3},{2,6},
//                {8, 10}, {15, 18}
//                {1, 4}, {1, 4}
                {1, 5}, {7, 9}, {5, 7}
        };
        int[][] r = new Solution().merge(intervals);
        System.out.println(Arrays.deepToString(r));
    }
}